<html><head><meta charset="UTF-8" /><script>var $gwt_version = "2.3.0";var $wnd = parent;var $doc = $wnd.document;var $moduleName, $moduleBase;var $strongName = 'CB4C03254B406DDA0D810C09CA9E4220';var $stats = $wnd.__gwtStatsEvent ? function(a) {return $wnd.__gwtStatsEvent(a);} : null,$sessionId = $wnd.__gwtStatsSessionId ? $wnd.__gwtStatsSessionId : null;$stats && $stats({moduleName:'boarddemo',sessionId:$sessionId,subSystem:'startup',evtGroup:'moduleStartup',millis:(new Date()).getTime(),type:'moduleEvalStart'});</script></head><body><script><!--
function p(){}
function o(){}
function n(){}
function m(){}
function l(){}
function I(){}
function J(){}
function H(){}
function Q(){}
function P(){}
function O(){}
function N(){}
function U(){}
function Li(){}
function fb(){}
function ab(){}
function nb(){}
function jb(){}
function Ab(){}
function zb(){}
function yb(){}
function xb(){}
function wb(){}
function Ib(){}
function vb(){}
function Mb(){}
function Lb(){}
function Kb(){}
function Rb(){}
function Vb(){}
function Tb(){}
function Zb(){}
function cc(){}
function bc(){}
function ac(){}
function mc(){}
function lc(){}
function oc(){}
function nc(){}
function uc(){}
function tc(){}
function Dc(){}
function Cc(){}
function td(){}
function zd(){}
function Pd(){}
function Od(){}
function Nd(){}
function Zd(){}
function ee(){}
function de(){}
function he(){}
function ge(){}
function ke(){}
function je(){}
function me(){}
function oe(){}
function ve(){}
function we(){}
function Ae(){}
function Ce(){}
function He(){}
function Ge(){}
function Ke(){}
function Ue(){}
function Te(){}
function Xe(){}
function We(){}
function Ye(){}
function $e(){}
function cf(){}
function lf(){}
function rf(){}
function qf(){}
function sf(){}
function uf(){}
function xf(){}
function Af(){}
function Df(){}
function Jf(){}
function Nf(){}
function Mf(){}
function Of(){}
function $f(){}
function ag(){}
function dg(){}
function cg(){}
function eg(){}
function gg(){}
function ig(){}
function lg(){}
function og(){}
function Cg(){}
function Eg(){}
function Kg(){}
function Jg(){}
function dh(){}
function ch(){}
function lh(){}
function qh(){}
function ph(){}
function xh(){}
function Ch(){}
function Mh(){}
function Sh(){}
function Vh(){}
function $h(){}
function ci(){}
function pi(){}
function oi(){}
function ti(){}
function wi(){}
function Di(){}
function Ii(){}
function pg(a){}
function hg(a){mb()}
function kg(a){mb()}
function ng(a){mb()}
function Dg(a){mb()}
function bg(){mb()}
function fg(){mb()}
function jg(){mb()}
function mg(){mb()}
function S(){mb()}
function Ji(){mb()}
function wd(){vd()}
function vi(){Qg(this)}
function F(a){this.n=a}
function xe(a){this.a=a}
function Be(a){this.a=a}
function Bf(a){this.a=a}
function yf(a){this.a=a}
function If(a){this.a=a}
function nf(a){this.b=a}
function hh(a){this.a=a}
function th(a){this.a=a}
function _h(a){this.a=a}
function Ph(a){this.c=a}
function Sb(){this.a={}}
function Pb(){this.c=++Nb}
function Bc(a,b){this.a=b}
function yi(){this.a=new vi}
function ni(){ni=Li;mi=new pi}
function cb(){cb=Li;bb=new fb}
function vd(){vd=Li;ud=new Pb}
function yg(){yg=Li;vg={};xg={}}
function qc(a){pc.call(this,a)}
function be(a){pc.call(this,a)}
function kd(a,b){Dd();Ld(a,b)}
function Wd(a,b){Sd(a,b,a.n)}
function df(a,b){ff(a,b,a.b)}
function t(a,b){!!a.j&&$b(a.j,b)}
function _f(a,b){this.a=a;this.b=b}
function Wh(a,b){this.a=a;this.b=b}
function Ei(a,b){this.a=a;this.b=b}
function yh(a,b){this.b=a;this.a=b}
function _b(a){this.a=new kc;this.b=a}
function Ad(){this.a=new kc;this.b=null}
function kc(){this.d=new vi;this.c=false}
function ae(){ae=Li;$d=new ee;_d=new he}
function Hb(){Hb=Li;Gb=new Qb(new Ib)}
function Nh(a){return a.b<a.c.F()}
function Pc(a,b){return a.cM&&a.cM[b]}
function Vg(b,a){return Oi+a in b.e}
function X(a,b,c){return a.apply(b,c);var d}
function fc(a,b,c){var d;d=hc(a,b);d.D(c)}
function Fh(a,b){(a<0||a>=b)&&Ih(a,b)}
function dc(a,b){!a.a&&(a.a=new fi);di(a.a,b)}
function Xb(a){var b;if(Ub){b=new Vb;$b(a,b)}}
function T(a){mb();this.a=a;lb(this)}
function Pe(a){this.f=new jf;this.n=a;u(this)}
function tf(a,b,c){this.a=a;this.c=b;this.b=c}
function jf(){this.a=Gc(Yc,{20:1},9,4,0)}
function fi(){this.a=Gc(ad,{20:1},0,0,0)}
function Ze(){Pe.call(this,$doc.body)}
function Dd(){if(!Bd){Kd();Bd=true}}
function rd(){md&&Xb((!nd&&(nd=new Ad),nd))}
function od(a){qd();return pd(Ub?Ub:(Ub=new Pb),a)}
function Lg(a){var b;b=new hh(a);return new Wh(a,b)}
function xi(a,b){var c;c=Wg(a.a,b,a);return c==null}
function di(a,b){Jc(a.a,a.b++,b);return true}
function gb(a,b){!a&&(a=[]);a[a.length]=b;return a}
function Uc(a){if(a!=null){throw new fg}return null}
function Bg(){if(wg==256){vg=xg;xg={};wg=0}++wg}
function Mc(){Mc=Li;Kc=[];Lc=[];Nc(new Dc,Kc,Lc)}
function Oe(){Oe=Li;Le=new Ue;Me=new vi;Ne=new yi}
function qe(a){this.a=a;this.b=rc(a);this.c=this.b}
function Lf(a,b){this.b=a;this.c=b;this.a='grassland'}
function Sc(a,b){return a!=null&&a.cM&&!!a.cM[b]}
function Ed(a){return !Tc(a)&&a!=null&&a.cM&&!!a.cM[8]}
function Tc(a){return a!=null&&a.tM!=Li&&!(a.cM&&!!a.cM[1])}
function Qg(a){a.a=[];a.e={};a.c=false;a.b=null;a.d=0}
function Qe(a){Oe();try{v(a)}finally{$g(Ne.a,a)!=null}}
function Re(){Oe();try{ce(Ne,Le)}finally{Qg(Ne.a);Qg(Me)}}
function Th(a){if(a.b<=0){throw new Ji}return a.a.M(--a.b)}
function Oh(a){if(a.b>=a.c.F()){throw new Ji}return a.c.M(a.b++)}
function mf(a){if(a.a>=a.b.b){throw new Ji}return a.b.a[++a.a]}
function Y(){if(V++==0){db((cb(),bb));return true}return false}
function Sd(a,b,c){w(b);df(a.f,b);c.appendChild(b.n);x(b,a)}
function Ic(a,b,c,d){Mc();Oc(d,Kc,Lc);d.aC=a;d.cM=b;d.qI=c;return d}
function Ec(a,b){var c,d;c=a;d=Fc(0,b);Ic(c.aC,c.cM,c.qI,d);return d}
function Yg(a,b){var c;c=a.b;a.b=b;if(!a.c){a.c=true;++a.d}return c}
function hf(a,b){var c;c=ef(a,b);if(c==-1){throw new Ji}gf(a,c)}
function Qc(a,b){if(a!=null&&!(a.cM&&a.cM[b])){throw new fg}return a}
function fd(a){if(a!=null&&a.cM&&!!a.cM[7]){return a}return new T(a)}
function ah(a){var b;b=a.b;a.b=null;if(a.c){a.c=false;--a.d}return b}
function y(a,b){a.i==-1?kd(a.n,b|(a.n.__eventBits||0)):(a.i|=b)}
function $g(a,b){return !b?ah(a):_g(a,b,~~(b.$H||(b.$H=++W)))}
function pd(a,b){return new mc(ec((!nd&&(nd=new Ad),nd).a,a,b))}
function Ih(a,b){throw new kg('Index: '+a+', Size: '+b)}
function ze(){ze=Li;new Be('bottom');new Be('middle');ye=new Be(mj)}
function wf(){this.f=new af;this.a=new Ee;this.e=new le;this.g=new Ie}
function Md(){$wnd.__gwt_initWindowCloseHandler(Mi(sd),Mi(rd))}
function Xd(a){a.style[lj]=Ni;a.style[mj]=Ni;a.style['position']=Ni}
function ub(a){return a.tabIndex<65535?a.tabIndex:-(a.tabIndex%65535)-1}
function rb(b){try{return b.getBoundingClientRect().left}catch(a){return 0}}
function sb(b){try{return b.getBoundingClientRect().top}catch(a){return 0}}
function pb(a){var b=a.parentNode;(!b||b.nodeType!=1)&&(b=null);return b}
function sd(){var a;if(md){a=new wd;!!nd&&$b(nd,a);return null}return null}
function Uf(a,b,c){if(b>=0&&c>=0&&b<a.b&&c<a.a){return a.o[b][c]}return null}
function ei(a,b,c){for(;c<a.b;++c){if(Ki(b,a.a[c])){return c}}return -1}
function ef(a,b){var c;for(c=0;c<a.b;++c){if(a.a[c]==b){return c}}return -1}
function Nc(a,b,c){var d=0,e;for(var f in a){if(e=a[f]){b[d]=f;c[d]=e;++d}}}
function Oc(a,b,c){Mc();for(var d=0,e=b.length;d<e;++d){a[b[d]]=c[d]}}
function $(a,b,c){var d;d=Y();try{return X(a,b,c)}finally{d&&eb((cb(),bb));--V}}
function K(a,b){var c;return c=a,c.tM==Li||c.cM&&!!c.cM[1]?c.eQ(b):c===b}
function L(a){var b;return b=a,b.tM==Li||b.cM&&!!b.cM[1]?b.hC():b.$H||(b.$H=++W)}
function Rc(a){if(a!=null&&(a.tM==Li||a.cM&&!!a.cM[1])){throw new fg}return a}
function qg(a,b){if(!(b!=null&&b.cM&&!!b.cM[1])){return false}return String(a)==b}
function Kf(a){var b;if(a.b==1&&a.c==1){b=new fi;di(b,new Nf);return b}return null}
function Zg(e,a,b){var c,d=e.e;a=Oi+a;a in d?(c=d[a]):++e.d;d[a]=b;return c}
function Uh(a,b){var c;this.a=a;this.c=a;c=a.F();(b<0||b>c)&&Ih(b,c);this.b=b}
function Qb(a){this.c=++Nb;this.a=a;!Bb&&(Bb=new Sb);Bb.a[Qi]=this;this.b=Qi}
function mh(a){var b;b=new fi;a.c&&di(b,new th(a));Pg(a,b);Og(a,b);this.a=new Ph(b)}
function db(a){var b,c;if(a.a){c=null;do{b=a.a;a.a=null;c=hb(b,c)}while(a.a);a.a=c}}
function eb(a){var b,c;if(a.b){c=null;do{b=a.b;a.b=null;c=hb(b,c)}while(a.b);a.b=c}}
function ui(a,b){return (a==null?null:a)===(b==null?null:b)||a!=null&&K(a,b)}
function Ki(a,b){return (a==null?null:a)===(b==null?null:b)||a!=null&&K(a,b)}
function Rg(a,b){return b==null?a.c:b!=null&&b.cM&&!!b.cM[1]?Vg(a,Qc(b,1)):Ug(a,b,~~L(b))}
function pe(a,b){a.a.textContent=b||Ni;if(a.c!=a.b){a.c=a.b;sc(a.a,a.b)}}
function s(a,b,c){y(a,Cd(c.b));return new mc(ec((!a.j?(a.j=new _b(a)):a.j).a,c,b))}
function jd(a,b,c){var d;d=hd;hd=a;b==id&&Cd(a.type)==8192&&(id=null);c.t(a);hd=d}
function Gc(a,b,c,d,e){var f;f=Fc(e,d);Mc();Oc(f,Kc,Lc);f.aC=a;f.cM=b;f.qI=c;return f}
function Vf(a,b){var c;c=new _f(a.c+(b.c+b.b)*~~(a.n/2),a.d+(b.c-b.b)*~~(a.k/2));return c}
function Fg(a,b){var c;while(a.B()){c=a.C();if(b==null?c==null:K(b,c)){return a}}return null}
function Wf(a,b,c){var d;for(d=0;d<a.p.length;++d){if(Yf(a,a.p[d],b,c)){return a.p[d]}}return null}
function tb(a){var b=a.offsetParent;if(b){return b.offsetWidth-b.clientWidth}return 0}
function Z(b){return function(){try{return $(b,this,arguments)}catch(a){throw a}}}
function rg(b,a){if(a==null)return false;return b==a||b.toLowerCase()==a.toLowerCase()}
function qb(a,b){while(b){if(a==b){return true}b=b.parentNode;b&&b.nodeType!=1&&(b=null)}return false}
function Sg(a,b){return b==null?a.b:b!=null&&b.cM&&!!b.cM[1]?a.e[Oi+Qc(b,1)]:Tg(a,b,~~L(b))}
function Wg(a,b,c){return b==null?Yg(a,c):b!=null&&b.cM&&!!b.cM[1]?Zg(a,Qc(b,1),c):Xg(a,b,c,~~L(b))}
function pc(a){S.call(this,a.F()==0?null:Qc(a.G(Gc(cd,{16:1,20:1},7,0,0)),16)[0]);this.a=a}
function af(){ne.call(this);this.a=(ue(),re);this.b=(ze(),ye);this.e[sj]=tj;this.e[uj]=tj}
function Ie(){this.n=$doc.createElement('div');this.a=new qe(this.n);this.n[nj]='gwt-Label'}
function ue(){ue=Li;new xe('center');new xe('justify');se=new xe(lj);new xe('right');te=se;re=te}
function Ac(){Ac=Li;zc=new Bc('RTL',0);yc=new Bc('LTR',1);xc=new Bc('DEFAULT',2);Ic(Xc,{20:1},23,[zc,yc,xc])}
function G(){var a;!E&&(E=new J);a=$doc.createElement('canvas');if(!a.getContext){return null}return new F(a)}
function gwtOnLoad(b,c,d,e){$moduleName=c;$moduleBase=d;if(b)try{Mi(ed)()}catch(a){b(c)}else{Mi(ed)()}}
function Pg(e,a){var b=e.e;for(var c in b){if(c.charCodeAt(0)==58){var d=new yh(e,c.substring(1));a.D(d)}}}
function Ag(a){yg();var b=Oi+a;var c=xg[b];if(c!=null){return c}c=vg[b];c==null&&(c=zg(a));Bg();return xg[b]=c}
function hc(a,b){var c,d;d=Qc(Sg(a.d,b),13);if(!d){d=new vi;Wg(a.d,b,d)}c=Qc(d.b,14);if(!c){c=new fi;Yg(d,c)}return c}
function ic(a,b){var c,d;d=Qc(Sg(a.d,b),13);if(!d){return ni(),ni(),mi}c=Qc(d.b,14);if(!c){return ni(),ni(),mi}return c}
function Td(a,b){var c;if(b.k!=a){return false}try{x(b,null)}finally{c=b.n;pb(c).removeChild(c);hf(a.f,b)}return true}
function gf(a,b){var c;if(b<0||b>=a.b){throw new jg}--a.b;for(c=b;c<a.b;++c){Jc(a.a,c,a.a[c+1])}Jc(a.a,a.b,null)}
function jc(a){var b,c;if(a.a){try{for(c=new Ph(a.a);c.b<c.c.F();){b=Qc(Oh(c),15);fc(b.a,b.c,b.b)}}finally{a.a=null}}}
function Cb(a,b,c){var d,e,f;if(Bb){f=Qc(Bb.a[a.type],4);if(f){d=f.a.a;e=f.a.b;f.a.a=a;f.a.b=c;t(b,f.a);f.a.a=d;f.a.b=e}}}
function R(a){var b,c,d;c=Gc(bd,{20:1},30,a.length,0);for(d=0,b=a.length;d<b;++d){if(!a[d]){throw new mg}c[d]=a[d]}}
function mb(){var a,b,c,d;c=kb(new nb);d=Gc(bd,{20:1},30,c.length,0);for(a=0,b=d.length;a<b;++a){d[a]=new pg(c[a])}R(d)}
function Og(h,a){var b=h.a;for(var c in b){var d=parseInt(c,10);if(c==d){var e=b[d];for(var f=0,g=e.length;f<g;++f){a.D(e[f])}}}}
function Tg(h,a,b){var c=h.a[b];if(c){for(var d=0,e=c.length;d<e;++d){var f=c[d];var g=f.I();if(h.H(a,g)){return f.J()}}}return null}
function Ug(h,a,b){var c=h.a[b];if(c){for(var d=0,e=c.length;d<e;++d){var f=c[d];var g=f.I();if(h.H(a,g)){return true}}}return false}
function gh(a,b){var c,d,e;if(b!=null&&b.cM&&!!b.cM[31]){c=Qc(b,31);d=c.I();if(Rg(a.a,d)){e=Sg(a.a,d);return ui(c.J(),e)}}return false}
function rc(a){var b;b=a[Ri]==null?null:String(a[Ri]);if(rg(Pi,b)){return Ac(),zc}else if(rg(Si,b)){return Ac(),yc}return Ac(),xc}
function Hf(a){var b;b=a.a.createElement(xj);b.src=a.a.URL.substr(0,a.a.URL.indexOf(yj)-0)+'images/unit.png';return b}
function De(a,b){var c,d;c=(d=$doc.createElement(oj),d[pj]=a.a.a,d.style[qj]=a.c.a,d);a.b.appendChild(c);w(b);df(a.f,b);c.appendChild(b.n);x(b,a)}
function ne(){this.f=new jf;this.e=$doc.createElement('table');this.d=$doc.createElement('tbody');this.e.appendChild(this.d);this.n=this.e}
function Ee(){ne.call(this);this.a=(ue(),re);this.c=(ze(),ye);this.b=$doc.createElement(rj);this.d.appendChild(this.b);this.e[sj]=tj;this.e[uj]=tj}
function Zf(a,b,c){this.e=b;this.j=c;this.a=8;this.b=8;this.k=64;this.n=128;this.p=a;this.f=true;this.g=true;this.i=false}
function Je(){Ie.call(this);pe(this.a,"Sorry, your browser doesn't support the HTML5 Canvas element")}
function sc(a,b){switch(b.a){case 0:{a[Ri]=Pi;break}case 1:{a[Ri]=Si;break}case 2:{rc(a)!=(Ac(),xc)&&(a[Ri]=Ni,undefined);break}}}
function sg(c){if(c.length==0||c[0]>Bj&&c[c.length-1]>Bj){return c}var a=c.replace(/^(\s*)/,Ni);var b=a.replace(/\s*$/,Ni);return b}
function lb(a){var b,c,d,e;d=(Tc(a.a)?Rc(a.a):null,[]);e=Gc(bd,{20:1},30,d.length,0);for(b=0,c=e.length;b<c;++b){e[b]=new pg(d[b])}R(e)}
function Jc(a,b,c){if(c!=null){if(a.qI>0&&!Pc(c,a.qI)){throw new bg}if(a.qI<0&&(c.tM==Li||c.cM&&!!c.cM[1])){throw new bg}}return a[b]=c}
function hb(b,c){var a,d,e,f;for(d=0,e=b.length;d<e;++d){f=b[d];try{f[1]?f[0].P()&&(c=gb(c,f)):Md()}catch(a){a=fd(a);if(!Sc(a,2))throw a}}return c}
function le(){var a;this.n=(a=$doc.createElement('BUTTON'),a.setAttribute('type','button'),a);this.n[nj]='gwt-Button';this.n.innerHTML='Draw Board'}
function ib(a){var b,c,d;d=Ni;a=sg(a);b=a.indexOf('(');if(b!=-1){c=a.indexOf('function')==0?8:0;d=sg(a.substr(c,b-c))}return d.length>0?d:'anonymous'}
function w(a){if(!a.k){(Oe(),Rg(Ne.a,a))&&Qe(a)}else if(a.k){a.k.z(a)}else if(a.k){throw new hg("This widget's parent does not implement HasWidgets")}}
function Fb(a){var b,c;b=a.b;if(b){return c=a.a,(c.clientY||0)-(sb(b)+$wnd.pageYOffset)+(b.scrollTop||0)+(b.ownerDocument,$wnd.pageYOffset)}return a.a.clientY||0}
function Gf(a,b){var c,d;d=a.a.createElement(xj);~~(b.b/(b.c+1))%2==0?(c='1'):(c=tj);d.src=a.a.URL.substr(0,a.a.URL.indexOf(yj)-0)+zj+b.a+'/center'+c+Aj;return d}
function v(a){if(!a.g){throw new hg("Should only call onDetach when the widget is attached to the browser's document")}try{a.r()}finally{a.n.__listener=null;a.g=false}}
function Sf(a,b){var c,d,e;c=Vf(a,b);if(Kf(b)){for(e=new Ph(Kf(b));e.b<e.c.F();){Qc(Oh(e),22);d=Hf(a.j);a.e.drawImage(d,c.a-~~(d.width/2),c.b-d.height,d.width,d.height)}}}
function Xf(a,b,c,d){var e,f,g,h;h=a.length;e=false;for(f=0,g=h-1;f<h;g=f++){(b[f]<=d&&d<b[g]||b[g]<=d&&d<b[f])&&c<~~((a[g]-a[f])*(d-b[f])/(b[g]-b[f]))+a[f]&&(e=!e)}return e}
function Hc(a,b,c,d,e,f,g){var h,i,j,k;j=d[e];i=e==f-1;k=Fc(i?g:0,j);Mc();Oc(k,Kc,Lc);k.aC=a[e];k.cM=b[e];k.qI=c[e];if(!i){++e;for(h=0;h<j;++h){k[h]=Hc(a,b,c,d,e,f,g)}}return k}
function x(a,b){var c;c=a.k;if(!b){try{!!c&&c.g&&v(a)}finally{a.k=null}}else{if(c){throw new hg('Cannot set a new parent without first clearing the old parent')}a.k=b;b.g&&a.s()}}
function Pf(a,b){var c;c=Gc($c,{20:1},27,4,0);c[0]=new _f(b.a-~~(a.n/2),b.b);c[1]=new _f(b.a,b.b-~~(a.k/2));c[2]=new _f(b.a+~~(a.n/2),b.b);c[3]=new _f(b.a,b.b+~~(a.k/2));return c}
function _g(h,a,b){var c=h.a[b];if(c){for(var d=0,e=c.length;d<e;++d){var f=c[d];var g=f.I();if(h.H(a,g)){c.length==1?delete h.a[b]:c.splice(d,1);--h.d;return f.J()}}}return null}
function Xg(j,a,b,c){var d=j.a[c];if(d){for(var e=0,f=d.length;e<f;++e){var g=d[e];var h=g.I();if(j.H(a,h)){var i=g.J();g.K(b);return i}}}else{d=j.a[c]=[]}var g=new Ei(a,b);d.push(g);++j.d;return null}
function Fc(a,b){var c=new Array(b);if(a==3){for(var d=0;d<b;++d){var e=new Object;e.l=e.m=e.h=0;c[d]=e}}else if(a>0){var e=[null,0,false][a];for(var d=0;d<b;++d){c[d]=e}}return c}
function gd(a){return $stats({moduleName:$moduleName,sessionId:$sessionId,subSystem:'startup',evtGroup:'moduleStartup',millis:(new Date).getTime(),type:'onModuleLoadStart',className:a})}
function _e(a,b){var c,d,e;d=$doc.createElement(rj);c=(e=$doc.createElement(oj),e[pj]=a.a.a,e.style[qj]=a.b.a,e);d.appendChild(c);a.d.appendChild(d);w(b);df(a.f,b);c.appendChild(b.n);x(b,a)}
function $b(b,c){var a,d,e;!c.c||(c.c=false,c.d=null);e=c.d;c.d=b.b;try{gc(b.a,c)}catch(a){a=fd(a);if(Sc(a,6)){d=a;throw new qc(d.a)}else throw a}finally{e==null?(c.c=true,c.d=null):(c.d=e)}}
function ce(b,c){var h;ae();var a,d,e,f,g;d=null;for(g=b.y();g.B();){f=Qc(g.C(),9);try{c.A(f)}catch(a){a=fd(a);if(Sc(a,7)){e=a;!d&&(d=new yi);h=Wg(d.a,e,d)}else throw a}}if(d){throw new be(d)}}
function ec(a,b,c){var d;if(!b){throw new ng('Cannot add a handler with a null type')}if(!c){throw new ng('Cannot add a null handler')}a.b>0?dc(a,new tf(a,b,c)):(d=hc(a,b),d.D(c),undefined);return new rf}
function zg(a){var b,c,d,e;b=0;d=a.length;e=d-4;c=0;while(c<e){b=a.charCodeAt(c+3)+31*(a.charCodeAt(c+2)+31*(a.charCodeAt(c+1)+31*(a.charCodeAt(c)+31*b)))|0;c+=4}while(c<d){b=b*31+a.charCodeAt(c++)}return b|0}
function ff(a,b,c){var d,e;if(c<0||c>a.b){throw new jg}if(a.b==a.a.length){e=Gc(Yc,{20:1},9,a.a.length*2,0);for(d=0;d<a.a.length;++d){Jc(e,d,a.a[d])}a.a=e}++a.b;for(d=a.b-1;d>c;--d){Jc(a.a,d,a.a[d-1])}Jc(a.a,c,b)}
function Yf(a,b,c,d){var e,f,g,h;e=Vf(a,b);f=Pf(a,e);g=Gc(Vc,{20:1},-1,4,1);h=Gc(Vc,{20:1},-1,4,1);g[0]=f[0].a;g[1]=f[1].a;g[2]=f[2].a;g[3]=f[3].a;h[0]=f[0].b;h[1]=f[1].b;h[2]=f[2].b;h[3]=f[3].b;return Xf(g,h,c,d)}
function Se(a){Oe();var b,c;c=Qc(Sg(Me,a),10);b=null;if(a!=null){if(!(b=$doc.getElementById(a))){return null}}if(c){if(!b||c.n==b){return c}}Me.d==0&&od(new Xe);!b?(c=new Ze):(c=new Pe(b));Wg(Me,a,c);xi(Ne,c);return c}
function u(a){var b;if(a.g){throw new hg("Should only call onAttach when the widget is detached from the browser's document")}a.g=true;a.n.__listener=a;b=a.i;a.i=-1;b>0&&(a.i==-1?kd(a.n,b|(a.n.__eventBits||0)):(a.i|=b));a.q()}
function kb(i){var a={};var b=[];var c=arguments.callee.caller.caller;while(c){var d=i.u(c.toString());b.push(d);var e=Oi+d;var f=a[e];if(f){var g,h;for(g=0,h=f.length;g<h;g++){if(f[g]===c){return b}}}(f||(a[e]=[])).push(c);c=c.caller}return b}
function Ff(a,b,c){var d,e,f;if(!c)return null;if(b.a==c.a||b.a.length<=c.a.length){return null}else{f=a.a.createElement(xj);e=Ef(b,c);d='even';(b.b+b.c)%2!=0&&(d='odd');f.src=a.a.URL.substr(0,a.a.URL.indexOf(yj)-0)+zj+c.a+'/border_'+e+'_'+d+Aj;return f}}
function Qf(a){var b;a.o=Hc([dd,_c],[{20:1},{11:1,20:1}],[11,28],[a.b,a.a],0,2,0);a.d=~~(a.a/2)*a.k+~~(a.k/2);a.c=~~(a.n/2);for(b=0;b<a.p.length;++b){Jc(a.o[a.p[b].b],a.p[b].c,a.p[b])}for(b=0;b<a.p.length;++b){Tf(a,a.p[b])}for(b=0;b<a.p.length;++b){Sf(a,a.p[b])}}
function Eb(a){var b,c,d,e;b=a.b;if(b){return c=a.a,(c.clientX||0)-(d=rb(b)+$wnd.pageXOffset,b.ownerDocument.defaultView.getComputedStyle(b,Ni).direction==Pi&&(d+=tb(b)),d)+(e=b.scrollLeft||0,b.ownerDocument.defaultView.getComputedStyle(b,Ni).direction==Pi&&(e=-e),e)+(b.ownerDocument,$wnd.pageXOffset)}return a.a.clientX||0}
function Ef(a,b){if(a.b+1==b.b&&a.c+1==b.c){return 'E'}if(a.b-1==b.b&&a.c-1==b.c){return 'W'}if(a.b==b.b&&a.c+1==b.c){return 'SE'}if(a.b==b.b&&a.c-1==b.c){return 'NW'}if(a.b-1==b.b&&a.c==b.c){return 'SW'}if(a.b+1==b.b&&a.c==b.c){return 'NE'}if(a.b+1==b.b&&a.c-1==b.c){return 'N'}if(a.b-1==b.b&&a.c+1==b.c){return 'S'}return Ni}
function gc(b,c){var a,d,e,f,g,h,i;if(!c){throw new ng('Cannot fire null event')}try{++b.b;g=ic(b,c.w());d=null;h=b.c?g.O(g.F()):g.N();while(b.c?h.b>0:h.b<h.c.F()){f=b.c?Th(h):Oh(h);try{c.v(Qc(f,12))}catch(a){a=fd(a);if(Sc(a,7)){e=a;!d&&(d=new yi);i=Wg(d.a,e,d)}else throw a}}if(d){throw new pc(d)}}finally{--b.b;b.b==0&&jc(b)}}
function ed(){var a;!!$stats&&gd('com.google.gwt.user.client.UserAgentAsserter');a=ld();qg(Ti,a)||($wnd.alert('ERROR: Possible problem with your *.gwt.xml module file.\nThe compile time user.agent value (ie9) does not match the runtime user.agent value ('+a+'). Expect more errors.\n'),undefined);!!$stats&&gd('gwt.board.demo.client.BoardDemo');vf(new wf)}
function Tf(a,b){var c,d,e;c=Vf(a,b);e=Pf(a,c);if(a.i){a.e.beginPath();a.e.moveTo(e[0].a,e[0].b);a.e.lineTo(e[1].a,e[1].b);a.e.lineTo(e[2].a,e[2].b);a.e.lineTo(e[3].a,e[3].b);a.e.lineTo(e[0].a,e[0].b);a.e.stroke();a.e.closePath()}d=Gf(a.j,b);a.e.drawImage(d,e[0].a,e[1].b,d.width,d.height);a.f&&Rf(a,b,e[0].a,e[1].b);a.g&&(a.e.strokeText(Ni+b.b+wj+b.c,c.a,c.b),undefined)}
function Rf(a,b,c,d){var e,f;e=Gc(Wc,{20:1},0,8,0);e[0]=Ff(a.j,b,Uf(a,b.b-1,b.c-1));e[1]=Ff(a.j,b,Uf(a,b.b,b.c-1));e[2]=Ff(a.j,b,Uf(a,b.b+1,b.c-1));e[3]=Ff(a.j,b,Uf(a,b.b-1,b.c+1));e[4]=Ff(a.j,b,Uf(a,b.b,b.c+1));e[5]=Ff(a.j,b,Uf(a,b.b+1,b.c+1));e[6]=Ff(a.j,b,Uf(a,b.b+1,b.c));e[7]=Ff(a.j,b,Uf(a,b.b-1,b.c));for(f=0;f<e.length;++f){!!e[f]&&(a.e.drawImage(e[f],c,d,e[f].width,e[f].height),undefined)}}
function vf(a){var b,c,d,e,f;a.c=G();if(!a.c){Wd((Oe(),Se(null)),new Je);return}a.c.n[nj]='mainCanvas';a.c.n.style['width']='1020px';a.c.n.width=1020;a.c.n.style['height']='600px';a.c.n.height=600;a.d=a.c.n.getContext(M);a.d.strokeStyle='White';c=new If($doc);f=Gc(Zc,{11:1,20:1},26,64,0);e=0;for(b=0;b<8;++b){for(d=0;d<8;++d){f[e]=new Lf(b,d);++e}}f[10].a='desert';f[25].a=vj;f[38].a=vj;f[39].a=vj;f[43].a=vj;f[44].a=vj;a.b=new Zf(f,a.d,c);De(a.a,a.e);De(a.a,a.g);_e(a.f,a.a);_e(a.f,a.c);Wd(Se('boardDemo'),a.f);s(a.e,new yf(a),(Hb(),Hb(),Gb));s(a.c,new Bf(a),Gb)}
function ld(){var b=navigator.userAgent.toLowerCase();var c=function(a){return parseInt(a[1])*1000+parseInt(a[2])};if(function(){return b.indexOf(Ui)!=-1}())return Ui;if(function(){return b.indexOf('webkit')!=-1}())return 'safari';if(function(){return b.indexOf(Vi)!=-1&&$doc.documentMode>=9}())return Ti;if(function(){return b.indexOf(Vi)!=-1&&$doc.documentMode>=8}())return 'ie8';if(function(){var a=/msie ([0-9]+)\.([0-9]+)/.exec(b);if(a&&a.length==3)return c(a)>=6000}())return 'ie6';if(function(){return b.indexOf('gecko')!=-1}())return 'gecko1_8';return 'unknown'}
function Cd(a){switch(a){case 'blur':return 4096;case 'change':return 1024;case Qi:return 1;case Wi:return 2;case 'focus':return 2048;case Xi:return 128;case Yi:return 256;case Zi:return 512;case 'load':return 32768;case 'losecapture':return 8192;case $i:return 4;case _i:return 64;case aj:return 32;case bj:return 16;case cj:return 8;case 'scroll':return 16384;case 'error':return 65536;case 'DOMMouseScroll':case dj:return 131072;case 'contextmenu':return 262144;case 'paste':return 524288;case ej:return 1048576;case fj:return 2097152;case gj:return 4194304;case hj:return 8388608;case ij:return 16777216;case jj:return 33554432;case kj:return 67108864;case 'ended':return 134217728;case 'progress':return 268435456;case 'canplaythrough':return 536870912;default:return -1;}}
function Kd(){Gd=Mi(function(a){return true});Id=Mi(function(a){var b,c=this;while(c&&!(b=c.__listener)){c=c.parentNode}c&&c.nodeType!=1&&(c=null);b&&Ed(b)&&jd(a,c,b)});Jd=Mi(function(a){this.__gwtLastUnhandledEvent=a.type;Id.call(this,a)});Hd=Mi(function(a){var b=Gd;if(b(a)){var c=Fd;if(c&&c.__listener){if(Ed(c.__listener)){jd(a,c,c.__listener);a.stopPropagation()}}}});$wnd.addEventListener(Qi,Hd,true);$wnd.addEventListener(Wi,Hd,true);$wnd.addEventListener($i,Hd,true);$wnd.addEventListener(cj,Hd,true);$wnd.addEventListener(_i,Hd,true);$wnd.addEventListener(bj,Hd,true);$wnd.addEventListener(aj,Hd,true);$wnd.addEventListener(dj,Hd,true);$wnd.addEventListener(Xi,Gd,true);$wnd.addEventListener(Zi,Gd,true);$wnd.addEventListener(Yi,Gd,true);$wnd.addEventListener(ej,Hd,true);$wnd.addEventListener(fj,Hd,true);$wnd.addEventListener(gj,Hd,true);$wnd.addEventListener(hj,Hd,true);$wnd.addEventListener(ij,Hd,true);$wnd.addEventListener(jj,Hd,true);$wnd.addEventListener(kj,Hd,true)}
function Ld(a,b){var c=(a.__eventBits||0)^b;a.__eventBits=b;if(!c)return;c&1&&(a.onclick=b&1?Id:null);c&2&&(a.ondblclick=b&2?Id:null);c&4&&(a.onmousedown=b&4?Id:null);c&8&&(a.onmouseup=b&8?Id:null);c&16&&(a.onmouseover=b&16?Id:null);c&32&&(a.onmouseout=b&32?Id:null);c&64&&(a.onmousemove=b&64?Id:null);c&128&&(a.onkeydown=b&128?Id:null);c&256&&(a.onkeypress=b&256?Id:null);c&512&&(a.onkeyup=b&512?Id:null);c&1024&&(a.onchange=b&1024?Id:null);c&2048&&(a.onfocus=b&2048?Id:null);c&4096&&(a.onblur=b&4096?Id:null);c&8192&&(a.onlosecapture=b&8192?Id:null);c&16384&&(a.onscroll=b&16384?Id:null);c&32768&&(a.onload=b&32768?Jd:null);c&65536&&(a.onerror=b&65536?Id:null);c&131072&&(a.onmousewheel=b&131072?Id:null);c&262144&&(a.oncontextmenu=b&262144?Id:null);c&524288&&(a.onpaste=b&524288?Id:null);c&1048576&&(a.ontouchstart=b&1048576?Id:null);c&2097152&&(a.ontouchmove=b&2097152?Id:null);c&4194304&&(a.ontouchend=b&4194304?Id:null);c&8388608&&(a.ontouchcancel=b&8388608?Id:null);c&16777216&&(a.ongesturestart=b&16777216?Id:null);c&33554432&&(a.ongesturechange=b&33554432?Id:null);c&67108864&&(a.ongestureend=b&67108864?Id:null)}
function qd(){var a,b;if(!md){a=(b=$doc.createElement('script'),b.textContent='function __gwt_initWindowCloseHandler(beforeunload, unload) {\n  var wnd = window\n  , oldOnBeforeUnload = wnd.onbeforeunload\n  , oldOnUnload = wnd.onunload;\n  \n  wnd.onbeforeunload = function(evt) {\n    var ret, oldRet;\n    try {\n      ret = beforeunload();\n    } finally {\n      oldRet = oldOnBeforeUnload && oldOnBeforeUnload(evt);\n    }\n    // Avoid returning null as IE6 will coerce it into a string.\n    // Ensure that "" gets returned properly.\n    if (ret != null) {\n      return ret;\n    }\n    if (oldRet != null) {\n      return oldRet;\n    }\n    // returns undefined.\n  };\n  \n  wnd.onunload = function(evt) {\n    try {\n      unload();\n    } finally {\n      oldOnUnload && oldOnUnload(evt);\n      wnd.onresize = null;\n      wnd.onscroll = null;\n      wnd.onbeforeunload = null;\n      wnd.onunload = null;\n    }\n  };\n  \n  // Remove the reference once we\'ve initialize the handler\n  wnd.__gwt_initWindowCloseHandler = undefined;\n}\n',b);$doc.body.appendChild(a);Md();$doc.body.removeChild(a);md=true}}
var Ni='',Bj=' ',wj=',',Aj='.png',yj='/',tj='0',Oi=':',pj='align',uj='cellPadding',sj='cellSpacing',nj='className',Qi='click',Wi='dblclick',Ri='dir',jj='gesturechange',kj='gestureend',ij='gesturestart',Ti='ie9',zj='images/tiles/',xj='img',Xi='keydown',Yi='keypress',Zi='keyup',lj='left',Si='ltr',$i='mousedown',_i='mousemove',aj='mouseout',bj='mouseover',cj='mouseup',dj='mousewheel',Vi='msie',Ui='opera',vj='plains',Pi='rtl',oj='td',mj='top',hj='touchcancel',gj='touchend',fj='touchmove',ej='touchstart',rj='tr',qj='verticalAlign';var _;_=p.prototype={};_.eQ=function q(a){return this===a};_.hC=function r(){return this.$H||(this.$H=++W)};_.tM=Li;_.cM={};_=o.prototype=new p;_.cM={25:1};_.n=null;_=n.prototype=new o;_.q=function z(){};_.r=function A(){};_.s=function B(){u(this)};_.t=function C(a){var b;switch(Cd(a.type)){case 16:case 32:b=a.relatedTarget;if(!!b&&qb(this.n,b)){return}}Cb(a,this,this.n)};_.cM={8:1,9:1,17:1,18:1,19:1,25:1};_.g=false;_.i=0;_.j=null;_.k=null;_=m.prototype=new n;_.s=function D(){var a;u(this);a=ub(this.n);-1==a&&(this.n.tabIndex=0,undefined)};_.cM={8:1,9:1,17:1,18:1,19:1,25:1};_=F.prototype=l.prototype=new m;_.cM={8:1,9:1,17:1,18:1,19:1,25:1};var E=null;_=I.prototype=new p;_.cM={};_=J.prototype=H.prototype=new I;_.cM={};var M='2d';_=Q.prototype=new p;_.cM={7:1,20:1};_=P.prototype=new Q;_.cM={7:1,20:1};_=O.prototype=new P;_.cM={2:1,7:1,20:1};_=T.prototype=N.prototype=new O;_.cM={2:1,7:1,20:1};_.a=null;_=U.prototype=new p;_.cM={};var V=0,W=0;_=fb.prototype=ab.prototype=new U;_.cM={};_.a=null;_.b=null;var bb;_=nb.prototype=jb.prototype=new p;_.u=function ob(a){return ib(a)};_.cM={};_=Ab.prototype=new p;_.cM={};_.d=null;_=zb.prototype=new Ab;_.cM={};_.c=false;_=yb.prototype=new zb;_.w=function Db(){return Hb(),Gb};_.cM={};_.a=null;_.b=null;var Bb=null;_=xb.prototype=new yb;_.cM={};_=wb.prototype=new xb;_.cM={};_=Ib.prototype=vb.prototype=new wb;_.v=function Jb(a){Qc(a,3).x(this)};_.cM={};var Gb;_=Mb.prototype=new p;_.hC=function Ob(){return this.c};_.cM={};_.c=0;var Nb=0;_=Pb.prototype=Lb.prototype=new Mb;_.cM={};_=Qb.prototype=Kb.prototype=new Lb;_.cM={4:1};_.a=null;_.b=null;_=Sb.prototype=Rb.prototype=new p;_.cM={};_.a=null;_=Vb.prototype=Tb.prototype=new zb;_.v=function Wb(a){Qc(a,5);Re()};_.w=function Yb(){return Ub};_.cM={};var Ub=null;_=_b.prototype=Zb.prototype=new p;_.cM={18:1};_.a=null;_.b=null;_=cc.prototype=new p;_.cM={};_=bc.prototype=new cc;_.cM={};_.a=null;_.b=0;_.c=false;_=kc.prototype=ac.prototype=new bc;_.cM={};_=mc.prototype=lc.prototype=new p;_.cM={};_=pc.prototype=oc.prototype=new O;_.cM={2:1,6:1,7:1,20:1};_.a=null;_=qc.prototype=nc.prototype=new oc;_.cM={2:1,6:1,7:1,20:1};_=uc.prototype=new p;_.eQ=function vc(a){return this===a};_.hC=function wc(){return this.$H||(this.$H=++W)};_.cM={20:1,21:1,29:1};_.a=0;_=Bc.prototype=tc.prototype=new uc;_.cM={20:1,21:1,23:1,29:1};var xc,yc,zc;_=Dc.prototype=Cc.prototype=new p;_.cM={};_.aC=null;_.qI=0;var Kc,Lc;var hd=null,id=null;var md=false,nd=null;_=wd.prototype=td.prototype=new zb;_.v=function xd(a){Uc(a);null.P()};_.w=function yd(){return ud};_.cM={};var ud;_=Ad.prototype=zd.prototype=new Zb;_.cM={18:1};var Bd=false;var Fd=null,Gd=null,Hd=null,Id=null,Jd=null;_=Pd.prototype=new n;_.q=function Qd(){ce(this,(ae(),$d))};_.r=function Rd(){ce(this,(ae(),_d))};_.cM={8:1,9:1,17:1,18:1,19:1,25:1};_=Od.prototype=new Pd;_.y=function Ud(){return new nf(this.f)};_.z=function Vd(a){return Td(this,a)};_.cM={8:1,9:1,17:1,18:1,19:1,25:1};_=Nd.prototype=new Od;_.z=function Yd(a){var b;b=Td(this,a);b&&Xd(a.n);return b};_.cM={8:1,9:1,17:1,18:1,19:1,25:1};_=be.prototype=Zd.prototype=new nc;_.cM={2:1,6:1,7:1,20:1};var $d,_d;_=ee.prototype=de.prototype=new p;_.A=function fe(a){a.s()};_.cM={};_=he.prototype=ge.prototype=new p;_.A=function ie(a){v(a)};_.cM={};_=ke.prototype=new m;_.cM={8:1,9:1,17:1,18:1,19:1,25:1};_=le.prototype=je.prototype=new ke;_.cM={8:1,9:1,17:1,18:1,19:1,25:1};_=me.prototype=new Od;_.cM={8:1,9:1,17:1,18:1,19:1,25:1};_.d=null;_.e=null;_=qe.prototype=oe.prototype=new p;_.cM={};_.a=null;_.b=null;_.c=null;var re,se,te;_=ve.prototype=new p;_.cM={};_=xe.prototype=we.prototype=new ve;_.cM={};_.a=null;var ye;_=Be.prototype=Ae.prototype=new p;_.cM={};_.a=null;_=Ee.prototype=Ce.prototype=new me;_.z=function Fe(a){var b,c,d;c=(d=a.n.parentNode,(!d||d.nodeType!=1)&&(d=null),d);b=Td(this,a);b&&this.b.removeChild(c);return b};
--></script>
<script><!--
_.cM={8:1,9:1,17:1,18:1,19:1,25:1};_.b=null;_=He.prototype=new n;_.cM={8:1,9:1,17:1,18:1,19:1,25:1};_.a=null;_=Je.prototype=Ie.prototype=Ge.prototype=new He;_.cM={8:1,9:1,17:1,18:1,19:1,25:1};_=Pe.prototype=Ke.prototype=new Nd;_.cM={8:1,9:1,10:1,17:1,18:1,19:1,25:1};var Le,Me,Ne;_=Ue.prototype=Te.prototype=new p;_.A=function Ve(a){a.g&&v(a)};_.cM={};_=Xe.prototype=We.prototype=new p;_.cM={5:1,12:1};_=Ze.prototype=Ye.prototype=new Ke;_.cM={8:1,9:1,10:1,17:1,18:1,19:1,25:1};_=af.prototype=$e.prototype=new me;_.z=function bf(a){var b,c,d;c=(d=a.n.parentNode,(!d||d.nodeType!=1)&&(d=null),d);b=Td(this,a);b&&this.d.removeChild(pb(c));return b};_.cM={8:1,9:1,17:1,18:1,19:1,25:1};_=jf.prototype=cf.prototype=new p;_.y=function kf(){return new nf(this)};_.cM={};_.a=null;_.b=0;_=nf.prototype=lf.prototype=new p;_.B=function of(){return this.a<this.b.b-1};_.C=function pf(){return mf(this)};_.cM={};_.a=-1;_.b=null;_=rf.prototype=qf.prototype=new p;_.cM={};_=tf.prototype=sf.prototype=new p;_.cM={15:1};_.a=null;_.b=null;_.c=null;_=wf.prototype=uf.prototype=new p;_.cM={};_.b=null;_.c=null;_.d=null;_=yf.prototype=xf.prototype=new p;_.x=function zf(a){Qf(this.a.b)};_.cM={3:1,12:1};_.a=null;_=Bf.prototype=Af.prototype=new p;_.x=function Cf(a){var b,c;c=Wf(this.a.b,Eb(a),Fb(a));if(c){b=Ni+c.b+wj+c.c;pe(this.a.g.a,' position : '+b)}else{pe(this.a.g.a,' position : Out of Board')}};_.cM={3:1,12:1};_.a=null;_=If.prototype=Df.prototype=new p;_.cM={};_.a=null;_=Lf.prototype=Jf.prototype=new p;_.cM={26:1,28:1};_.a=Ni;_.b=0;_.c=0;_=Nf.prototype=Mf.prototype=new p;_.cM={22:1};_=Zf.prototype=Of.prototype=new p;_.cM={};_.a=0;_.b=0;_.c=0;_.d=0;_.e=null;_.f=false;_.g=false;_.i=false;_.j=null;_.k=0;_.n=0;_.o=null;_.p=null;_=_f.prototype=$f.prototype=new p;_.cM={27:1};_.a=0;_.b=0;_=bg.prototype=ag.prototype=new O;_.cM={2:1,7:1,20:1};_=dg.prototype=cg.prototype=new p;_.cM={};_=fg.prototype=eg.prototype=new O;_.cM={2:1,7:1,20:1};_=hg.prototype=gg.prototype=new O;_.cM={2:1,7:1,20:1};_=kg.prototype=jg.prototype=ig.prototype=new O;_.cM={2:1,7:1,20:1};_=ng.prototype=mg.prototype=lg.prototype=new O;_.cM={2:1,7:1,20:1};_=pg.prototype=og.prototype=new p;_.cM={20:1,30:1};_=String.prototype;_.eQ=function tg(a){return qg(this,a)};_.hC=function ug(){return Ag(this)};_.cM={1:1,20:1,21:1};var vg,wg=0,xg;_=Dg.prototype=Cg.prototype=new O;_.cM={2:1,7:1,20:1};_=Eg.prototype=new p;_.D=function Gg(a){throw new Dg('Add not supported on this collection')};_.E=function Hg(a){var b;b=Fg(this.y(),a);return !!b};_.G=function Ig(a){var b,c,d;d=this.F();a.length<d&&(a=Ec(a,d));c=this.y();for(b=0;b<d;++b){Jc(a,b,c.C())}a.length>d&&Jc(a,d,null);return a};_.cM={};_=Kg.prototype=new p;_.eQ=function Mg(a){var b,c,d,e,f;if(a===this){return true}if(!(a!=null&&a.cM&&!!a.cM[13])){return false}e=Qc(a,13);if(this.d!=e.d){return false}for(c=new mh((new hh(e)).a);Nh(c.a);){b=Qc(Oh(c.a),31);d=b.I();f=b.J();if(!(d==null?this.c:d!=null&&d.cM&&!!d.cM[1]?Oi+Qc(d,1) in this.e:Ug(this,d,~~L(d)))){return false}if(!Ki(f,d==null?this.b:d!=null&&d.cM&&!!d.cM[1]?this.e[Oi+Qc(d,1)]:Tg(this,d,~~L(d)))){return false}}return true};_.hC=function Ng(){var a,b,c;c=0;for(b=new mh((new hh(this)).a);Nh(b.a);){a=Qc(Oh(b.a),31);c+=a.hC();c=~~c}return c};_.cM={13:1};_=Jg.prototype=new Kg;_.H=function bh(a,b){return (a==null?null:a)===(b==null?null:b)||a!=null&&K(a,b)};_.cM={13:1};_.a=null;_.b=null;_.c=false;_.d=0;_.e=null;_=dh.prototype=new Eg;_.eQ=function eh(a){var b,c,d;if(a===this){return true}if(!(a!=null&&a.cM&&!!a.cM[32])){return false}c=Qc(a,32);if(c.F()!=this.F()){return false}for(b=c.y();b.B();){d=b.C();if(!this.E(d)){return false}}return true};_.hC=function fh(){var a,b,c;a=0;for(b=this.y();b.B();){c=b.C();if(c!=null){a+=L(c);a=~~a}}return a};_.cM={32:1};_=hh.prototype=ch.prototype=new dh;_.E=function ih(a){return gh(this,a)};_.y=function jh(){return new mh(this.a)};_.F=function kh(){return this.a.d};_.cM={32:1};_.a=null;_=mh.prototype=lh.prototype=new p;_.B=function nh(){return Nh(this.a)};_.C=function oh(){return Qc(Oh(this.a),31)};_.cM={};_.a=null;_=qh.prototype=new p;_.eQ=function rh(a){var b;if(a!=null&&a.cM&&!!a.cM[31]){b=Qc(a,31);if(Ki(this.I(),b.I())&&Ki(this.J(),b.J())){return true}}return false};_.hC=function sh(){var a,b;a=0;b=0;this.I()!=null&&(a=L(this.I()));this.J()!=null&&(b=L(this.J()));return a^b};_.cM={31:1};_=th.prototype=ph.prototype=new qh;_.I=function uh(){return null};_.J=function vh(){return this.a.b};_.K=function wh(a){return Yg(this.a,a)};_.cM={31:1};_.a=null;_=yh.prototype=xh.prototype=new qh;_.I=function zh(){return this.a};_.J=function Ah(){return this.b.e[Oi+this.a]};_.K=function Bh(a){return Zg(this.b,this.a,a)};_.cM={31:1};_.a=null;_.b=null;_=Ch.prototype=new Eg;_.D=function Dh(a){this.L(this.F(),a);return true};_.L=function Eh(a,b){throw new Dg('Add not supported on this list')};_.eQ=function Gh(a){var b,c,d,e,f;if(a===this){return true}if(!(a!=null&&a.cM&&!!a.cM[14])){return false}f=Qc(a,14);if(this.F()!=f.F()){return false}d=new Ph(this);e=f.y();while(d.b<d.c.F()){b=Oh(d);c=Oh(e);if(!(b==null?c==null:K(b,c))){return false}}return true};_.hC=function Hh(){var a,b,c;b=1;a=new Ph(this);while(a.b<a.c.F()){c=Oh(a);b=31*b+(c==null?0:L(c));b=~~b}return b};_.y=function Jh(){return new Ph(this)};_.N=function Kh(){return new Uh(this,0)};_.O=function Lh(a){return new Uh(this,a)};_.cM={14:1};_=Ph.prototype=Mh.prototype=new p;_.B=function Qh(){return this.b<this.c.F()};_.C=function Rh(){return Oh(this)};_.cM={};_.b=0;_.c=null;_=Uh.prototype=Sh.prototype=new Mh;_.cM={};_.a=null;_=Wh.prototype=Vh.prototype=new dh;_.E=function Xh(a){return Rg(this.a,a)};_.y=function Yh(){var a;return a=new mh(this.b.a),new _h(a)};_.F=function Zh(){return this.b.a.d};_.cM={32:1};_.a=null;_.b=null;_=_h.prototype=$h.prototype=new p;_.B=function ai(){return Nh(this.a.a)};_.C=function bi(){var a;a=Qc(Oh(this.a.a),31);return a.I()};_.cM={};_.a=null;_=fi.prototype=ci.prototype=new Ch;_.D=function gi(a){return Jc(this.a,this.b++,a),true};_.L=function hi(a,b){(a<0||a>this.b)&&Ih(a,this.b);this.a.splice(a,0,b);++this.b};_.E=function ii(a){return ei(this,a,0)!=-1};_.M=function ji(a){return Fh(a,this.b),this.a[a]};_.F=function ki(){return this.b};_.G=function li(a){var b,c,d;a.length<this.b&&(a=(c=a,d=Fc(0,this.b),Ic(c.aC,c.cM,c.qI,d),d));for(b=0;b<this.b;++b){Jc(a,b,this.a[b])}a.length>this.b&&Jc(a,this.b,null);return a};_.cM={14:1,20:1};_.b=0;var mi;_=pi.prototype=oi.prototype=new Ch;_.E=function qi(a){return false};_.M=function ri(a){throw new jg};_.F=function si(){return 0};_.cM={14:1,20:1};_=vi.prototype=ti.prototype=new Jg;_.cM={13:1,20:1};_=yi.prototype=wi.prototype=new dh;_.D=function zi(a){var b;return b=Wg(this.a,a,this),b==null};_.E=function Ai(a){return Rg(this.a,a)};_.y=function Bi(){var a;return a=new mh(Lg(this.a).b.a),new _h(a)};_.F=function Ci(){return this.a.d};_.cM={20:1,32:1};_.a=null;_=Ei.prototype=Di.prototype=new qh;_.I=function Fi(){return this.a};_.J=function Gi(){return this.b};_.K=function Hi(a){var b;b=this.b;this.b=a;return b};_.cM={31:1};_.a=null;_.b=null;_=Ji.prototype=Ii.prototype=new O;_.cM={2:1,7:1,20:1};var Mi=Z;var Vc=new dg,bd=new dg,Xc=new dg,Yc=new dg,cd=new dg,Zc=new dg,_c=new dg,dd=new dg,Wc=new dg,$c=new dg,ad=new dg;$stats && $stats({moduleName:'boarddemo',sessionId:$sessionId,subSystem:'startup',evtGroup:'moduleStartup',millis:(new Date()).getTime(),type:'moduleEvalEnd'});if ($wnd.boarddemo) $wnd.boarddemo.onScriptLoad();
--></script></body></html>